<?php

/* 

 * To change this license header, choose License Headers in Project Properties.

 * To change this template file, choose Tools | Templates

 * and open the template in the editor.

 */

include_once "config.php";

$content = $_POST['conten'];
$user = $_POST['user'];

$sql = "INSERT INTO sb (yhm,nr) VALUES ('$user', '$content')";
$result = $conn->query($sql);

//echo json_encode($ret);
header("location:index.php");